Hello,
Finally getting 4th axis to where i can use it. But have a question on programmed feed rate.
When i program a G00 A90, A axis rotates to 90degrees at rapid feed rate.
But in order to do a G01 A 90 at maximum feed rate, i must program a feed of 5000 IPM. Other feedrates must be programmed really high also, unless i want wait for a few days for axis to rotate :)
What am i not understanding about the programed feed rate?
My setup....
Mach3 +KFLOP
4th axis is currently a 2:1 ratio.
2048 PPR encoder. Gecko G320X drive.
Mach3 motor settings- Steps Per. 4.272397057,Velocity 2500.2, Accel 100
Iam not sure about settings in C program as i was trying things to see if any changes happened.
Init C program snipet of 4th axis....
ch3->InputMode=NO_INPUT_MODE;
ch3->OutputMode=STEP_DIR_MODE;
ch3->Vel=2500000;
ch3->Accel=1000000;
ch3->Jerk=9000;
ch3->P=0;
ch3->I=0.005;
ch3->D=0;
ch3->FFAccel=0;
ch3->FFVel=0;
ch3->MaxI=200;
ch3->MaxErr=1e+006;
ch3->MaxOutput=200;
ch3->DeadBandGain=1;
ch3->DeadBandRange=0;
ch3->InputChan0=3;
ch3->InputChan1=0;
ch3->OutputChan0=11;
ch3->OutputChan1=0;
ch3->MasterAxis=-1;
ch3->LimitSwitchOptions=0x0;
ch3->InputGain0=1;
ch3->InputGain1=1;
ch3->InputOffset0=0;
ch3->InputOffset1=0;
ch3->OutputGain=1;
ch3->OutputOffset=0;
ch3->SlaveGain=1;
ch3->BacklashMode=BACKLASH_OFF;
ch3->BacklashAmount=0;
ch3->BacklashRate=0;
ch3->invDistPerCycle=1;
ch3->Lead=0;
ch3->MaxFollowingError=1000000000;
ch3->StepperAmplitude=20;
ch3->iir[0].B0=1;
ch3->iir[0].B1=0;
ch3->iir[0].B2=0;
ch3->iir[0].A1=0;
ch3->iir[0].A2=0;
ch3->iir[1].B0=1;
ch3->iir[1].B1=0;
ch3->iir[1].B2=0;
ch3->iir[1].A1=0;
ch3->iir[1].A2=0;
ch3->iir[2].B0=0.000769;
ch3->iir[2].B1=0.001538;
ch3->iir[2].B2=0.000769;
ch3->iir[2].A1=1.92081;
ch3->iir[2].A2=-0.923885;
Thanks,
Troy